﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "JK_PATIENT_ALL", DisableSyncStructure = true)]
	public partial class JKPATIENTALL {

		[JsonProperty, Column(Name = "TAB_ID", DbType = "NUMBER(22)", IsPrimary = true)]
		public decimal TABID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string ADDR { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(10 BYTE)")]
		public string AGE { get; set; }

		[JsonProperty, Column(Name = "AGE_UNIT", DbType = "VARCHAR2(10 BYTE)")]
		public string AGEUNIT { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK1 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK10 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK11 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK12 { get; set; }

		[JsonProperty, Column(DbType = "DATE(7)")]
		public DateTime? BAK13 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK2 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK3 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK4 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK5 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK6 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK7 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK8 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4000 BYTE)")]
		public string BAK9 { get; set; }

		[JsonProperty, Column(Name = "BED_NO", DbType = "VARCHAR2(10 BYTE)")]
		public string BEDNO { get; set; }

		[JsonProperty, Column(Name = "BIRTH_DATE", DbType = "DATE(7)")]
		public DateTime? BIRTHDATE { get; set; }

		[JsonProperty, Column(Name = "BQ_CODE", DbType = "VARCHAR2(50 BYTE)")]
		public string BQCODE { get; set; }

		[JsonProperty, Column(Name = "BQ_NAME", DbType = "VARCHAR2(50 BYTE)")]
		public string BQNAME { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(200 BYTE)")]
		public string CARDID { get; set; }

		[JsonProperty, Column(Name = "DEPT_CODE", DbType = "VARCHAR2(20 BYTE)")]
		public string DEPTCODE { get; set; }

		[JsonProperty, Column(Name = "DEPT_CODE_NOW", DbType = "VARCHAR2(50 BYTE)")]
		public string DEPTCODENOW { get; set; }

		[JsonProperty, Column(Name = "DEPT_CODE_OUT", DbType = "VARCHAR2(20 BYTE)")]
		public string DEPTCODEOUT { get; set; }

		[JsonProperty, Column(Name = "DEPT_NAME", DbType = "VARCHAR2(50 BYTE)")]
		public string DEPTNAME { get; set; }

		[JsonProperty, Column(Name = "DEPT_NAME_NOW", DbType = "VARCHAR2(50 BYTE)")]
		public string DEPTNAMENOW { get; set; }

		[JsonProperty, Column(Name = "DEPT_NAME_OUT", DbType = "VARCHAR2(50 BYTE)")]
		public string DEPTNAMEOUT { get; set; }

		[JsonProperty, Column(Name = "DIAGNOSIS_NAME", DbType = "VARCHAR2(2000 BYTE)")]
		public string DIAGNOSISNAME { get; set; }

		[JsonProperty, Column(Name = "DIAGNOSIS_NO", DbType = "VARCHAR2(20 BYTE)")]
		public string DIAGNOSISNO { get; set; }

		[JsonProperty, Column(Name = "DOCTOR_CODE", DbType = "VARCHAR2(20 BYTE)")]
		public string DOCTORCODE { get; set; }

		[JsonProperty, Column(Name = "DOCTOR_NAME", DbType = "VARCHAR2(50 BYTE)")]
		public string DOCTORNAME { get; set; }

		[JsonProperty, Column(Name = "HF_STATUS", DbType = "VARCHAR2(50 BYTE)")]
		public string HFSTATUS { get; set; }

		[JsonProperty, Column(Name = "IN_COST", DbType = "NUMBER(22)")]
		public decimal? INCOST { get; set; }

		[JsonProperty, Column(Name = "IN_DATE", DbType = "DATE(7)")]
		public DateTime? INDATE { get; set; }

		[JsonProperty, Column(Name = "IN_DAYS")]
		public int? INDAYS { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string JOB { get; set; }

		[JsonProperty, Column(Name = "JOB_COMPANY", DbType = "VARCHAR2(100 BYTE)")]
		public string JOBCOMPANY { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string NAME { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string NATION { get; set; }

		[JsonProperty, Column(Name = "OUT_DATE", DbType = "DATE(7)")]
		public DateTime? OUTDATE { get; set; }

		[JsonProperty, Column(Name = "PATIENT_ID", DbType = "VARCHAR2(30 BYTE)")]
		public string PATIENTID { get; set; }

		[JsonProperty, Column(Name = "PATIENT_ID_ND", DbType = "VARCHAR2(255 BYTE)")]
		public string PATIENTIDND { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(10 BYTE)")]
		public string SEX { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(30 BYTE)")]
		public string TEL { get; set; }

		[JsonProperty, Column(Name = "VISIT_ID")]
		public int? VISITID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(11 BYTE)")]
		public string XH { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string ZBXH { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string ZYID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string ZYZT { get; set; }

	}

}
